/* @import '~antd/dist/reset.css';  */

@import '../node_modules/antd/dist/antd.css';
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.notes {
  display: flex;
  height: 100%;
}

.notes * {
  font-family: sans-serif;
}

.notes_header{
  text-align: right;
  height: 50px;
  line-height: 50px;
}
.notes__content{
  display: flex;
  height:calc( 100vh - 50px);
  overflow:hidden;
}
.notes__sidebar {
  border-right: 2px solid #dddddd;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 1em;
  width: 300px;
}
.notes_btn{
  border: none;
  border-radius: 7px;
  color: #ffffff;
  background-color: #1890ff;
  cursor: pointer;
  font-size: 1em;
  padding: 0 0.7em;
  margin: 0 0.7em 1em;
  height: 32px;
  line-height: 32px;
  
  
}

.notes__list-item {
  cursor: pointer;
  margin: 2px;
  border-radius: 10px;
}

.notes__list-item.selected {
  background: #eeeeee;
  border-radius: 7px;
  font-weight: bold;
  border-radius: 10px;
}

.notes__small-title,
.notes__small-updated {
  padding: 10px;
}

.notes__small-title {
  font-size: 1.2em;
  max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notes__small-body {
  padding: 0 10px;
}

.notes__small-updated {
  color: #aaaaaa;
  font-style: italic;
  text-align: right;
}

.notes__preview {
  margin-top: 20px;
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
  padding-right: 10px;

}

.notes__title,
.notes__body {
  border: none;
  outline: none;
  width: 100%;
}

.notes__title {
  font-size: 3em;
  font-weight: bold;
}

.notes__body {
  flex-grow: 1;
  font-size: 1.2em;
  line-height: 1.5;
  margin-top: 2em;
  resize: none;
}


.content{
  width: 80%;
  white-space: normal;
  word-wrap: break-word;
  text-align: left;
  margin: 10px auto;
  max-height: 400px;
  overflow-y: auto;
  min-height: 250px;
}
.time{
  text-align: right;
}